<div class="layui-form-item">
    <label class="layui-form-label">{$value['desc']}</label>
    <div class="layui-input-block">
    <div class="Mfile {$value['class']}" style="{$value['style']}">
        <input name="{$value['name']}" type="text" value="{$value['value']}" style="display: none">
        <input type="file" onchange="yulan(this)">添加图片
    </div>
    <div class="show" style="height: 100px;margin-top: 10px">
        {if $value['value']}
        <img src="{:getFilePath($value['value'])}" style="max-width: 200px;max-height: 100px"/>
        {/if}
    </div>
    </div>
</div>